package com.pets.springboot_petshop.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Product implements Serializable {
    private int id;
    private String name;
    private String pettypeName;
    private String description;
    private BigDecimal original_price;
    private BigDecimal discount_price;
    private int pettype_id;
    private int stock;
    private String state;
    private String recommend;
    private String img;
    private LocalDateTime create_time;
    private LocalDateTime update_time;
}